css make bottom of the div triangle

67

.clipped {
  clip-path: polygon(100% 0%, 100% 70%, 50% 90%, 50% 90%, 0 70%, 0 0);
}

img {
  max-width: 100%;
  width: 100%;
}
<div class="clipped">
  <img src="https://loremflickr.com/1280/720">
</div>

Comments

Submit
0 Comments